package com.xuelang.pipeline.worker.client.crd.tekton.v1beta.task;


import com.xuelang.pipeline.worker.client.crd.tekton.v1beta.V1Beta1ResourceDeclaration;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liuyuan.ly
 * @since 2024/7/14 11:06
 */

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class V1Beta1TaskResources {

    @ApiModelProperty(value = "保存从 DeclaredPipelineResources 中声明的 PipelineResources 到 Task 所需的输入 PipelineResources 的映射", position = 0)
    private List<V1Beta1ResourceDeclaration> inputs;

    @ApiModelProperty(value = "保存从在 DeclaredPipelineResources 中声明的 PipelineResources 到 Task 所需的输入 PipelineResources 的映射", position = 1)
    private List<V1Beta1ResourceDeclaration> outputs;

}
